chore: Switch Google web sign-in to the redirect flow#497
Merged
Conversation
…uth.html` callback page instructions and redirect URI configurations
… client ID and redirect URI
vfiruz97
approved these changes
May 14, 2026
…roubleshooting guidance for web setup
Swiftaxe
reviewed
May 25, 2026
… web, including redirect URI handling
Swiftaxe
reviewed
May 25, 2026
Swiftaxe
reviewed
May 25, 2026
vfiruz97
reviewed
May 26, 2026
vfiruz97
reviewed
May 26, 2026
vfiruz97
reviewed
May 26, 2026
vfiruz97
reviewed
May 26, 2026
vfiruz97
reviewed
May 26, 2026
vfiruz97
approved these changes
May 26, 2026
Contributor
vfiruz97
left a comment
There was a problem hiding this comment.
LGTM! Good doc. Technically looks correct but I put some suggestions as personally I like short docs. Address them and discuss with team as they are from user prospective.
Swiftaxe
reviewed
May 26, 2026
…n redirect URI handling and web setup
…to production domain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
flutter_web_auth_2+auth.html). The popup/iframe flow is no longer the default in the docs.auth.html) section underconcepts/authentication/setupso GitHub, Google, and any future redirect-based IdP reference one canonical place.passwords.yamlexamples (dev + prod),initializeGoogleSignInexample (clientId+redirectUriunderkIsWeb), and the Publishing-to-production redirect URI to use/app/auth.html(the standard template path).clientId is required,redirect_uri_mismatchacross all three configuration spots) and drops popup-only entries.auth.htmlsection instead of inlining the snippet.--dart-definepattern.Supersedes #494. Most of the redirect-flow content originated from @vfiruz97's work there; this PR re-applies that intent on top of the recently merged #490.
Requires
serverpod_auth_idp_flutter >= 3.5.0-beta.7(the version that adds theredirectUriparameter toinitializeGoogleSignIn).